package com.jinlele.dao;


import java.util.List;

import com.jinlele.model.TradeRecord;

public interface TradeRecordMapper {
	public TradeRecord findById(String id);

	public List<TradeRecord> findByProperty(TradeRecord rec);
	
	public TradeRecord findSingleByProperty(TradeRecord rec);
	
	public List<TradeRecord> findByFail();

	public void update(TradeRecord rec);

	public void insert(TradeRecord rec);

}